package cn.kgc.tangcco.resource;

import org.glassfish.jersey.jackson.JacksonFeature;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
import org.glassfish.jersey.server.ResourceConfig;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/10/8 23:09
 */
public class JerseyConfig extends ResourceConfig {
    public JerseyConfig() {
        packages("cn.kgc.tangcco.rest");
        register(JacksonFeature.class);
        register(MultiPartFeature.class);
    }

}
